/* 主视觉区域样式 */
.hero {
    height: 100vh;
    background-image: url('../images/bakery.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: middle;
    z-index: 1;
    color: rgb(255, 255, 255);
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* 主视觉区域按钮样式恢复 */
.hero-content .btn {
    font-size: 20px;
    font-weight: 300;
    background-color: #847d67; /* 恢复金色背景 */
    color: rgb(255, 255, 255); /* 确保文字为白色 */
     border-radius: 20px;
    text-decoration: none;
    padding: 5px 15px;
}

/* 导航栏计分功能链接样式恢复 */
nav ul li a[href="score.html"] {
    color: white; /* 恢复白色文字 */
    opacity: 1; /* 确保完全不透明 */
}